package com.ttxs.common.core.constant;

public interface SecurityConstant {
    /**
     * 在网关给请求添加安全头，不允许直接访问微服务
     */
    String SECRET_KEY = "SecretKey";

    enum AuthMode {
        REST("rest"), URL("url"), PERMS("perms");

        AuthMode(String value) {
            this.value = value;
        }

        public String getValue() {
            return value;
        }

        private String value;
    }
}
